package com.hdax.dm.mapstrucs;

import com.hdax.dm.dto.CarouselDto;
import com.hdax.dm.entity.base.Image;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class CarouseDtoMapper {

    public abstract CarouselDto toTarget(Image image);

    public abstract List<CarouselDto> toTargets(List<Image> images);
}
